package cn.hrbnu.mapper;

import cn.hrbnu.po.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {
    List<Article> hotArticleList();

    Long selCountByCategoryId(Long id);

    List<Article> articleList(Long categoryId);

    Article getById(Long id);


}
